
		<div class="right_title"><img class="title_arrow" src="assets/images/title_arrow.png">
			<div class="title_txt">为角色分配权限
			</div>
		</div>
<div class="right_content" id="cwpt" style="padding:5px;">
<!-- 内容区域开始 -->
<hr>
<div><h3>当前角色：{{data.js}}</h3></div>
<form [formGroup]="myForm">
<table class="table table-condensed" style="width: 500px;">

  
  <tr><td colspan="3"><h4>角色子节点：</h4></td></tr>

    <tr class="like" *ngFor="let rol of roles['controls']; let i = index;" >
     <td><input type="checkbox" [formControl]="rol"></td> 
     <td>name：{{rolesall[i]['name']}} </td><td>描述：{{rolesall[i]['description']}}</td>
    </tr>
    <div class="youselect">{{selects}}</div>
    


  <tr><td colspan="3"><h4>权限子节点：</h4></td></tr>
      <tr class="like" *ngFor="let per of permissions['controls']; let i = index;" >
        <td><input type="checkbox" [formControl]="per"></td>
        <td>name：{{permissionsall[i]['name']}}</td>
        <td>描述：{{permissionsall[i]['description']}}</td> 
      </tr>
      <div class="youselect">{{selects}}</div>
      
 
</table>
   </form>
<!-- 内容区域结束 -->
<button  type="button" class="btn btn-info" (click)="ok()" >分配权限</button>  
<button  type="button" class="btn btn-warning" (click)="fh()" >返回</button>  
</div>
 




